package se.gala.games.quetzalcoatl;

import se.gala.users.PlayerBalance;
import se.gala.users.PlayerBalanceObservable;
import se.gala.utils.MoneyInt;

public class Balance extends PlayerBalanceObservable {
	
	PlayerBalance pb;
	
	public Balance(PlayerBalance pb) {
		// TODO
		this.pb = pb;
	}
	
	public MoneyInt moneyIntFactory(Number n) {
		return pb.moneyIntFactory(n);
	}
	
	public void setRealCashBalance(MoneyInt newAmount) {
		pb.setRealCashBalance(newAmount);
	}
	
	public MoneyInt getRealCashBalance() {
		return pb.getRealCashBalance();
	}
}
